 <template>
	<div class="header-like">
		<div class="like-top">
			<span class="iconfont">&#xe699;</span>
			<label>猜你喜欢</label>
		</div>
    <ul class="like-list">
    	<li class="border-bottom" v-for="(item , index) in likeList" :key="index">
    		<div class="item-img">
    			<img :src="item.imgURL">
    		</div>
    		<div class="list-item">
    			<p class="item-title">{{item.htil}}</p>
    			<p class="item-sad">
    				<span class="iconfont">&#xe812;</span>
    				<span class="iconfont">&#xe812;</span>
    				<span class="iconfont">&#xe812;</span>
    				<span class="iconfont">&#xe812;</span>
    				<span class="iconfont">&#xe812;</span>
    				<label>{{item.msg}}条评论</label>
    			</p>
    			<div class="item-pri">
    				<span>￥<i>{{item.price}}</i></span><b class="sp">起</b>
    				<label>{{item.adret}}</label>
    			</div>
    		</div>
    	</li>
    </ul>
	</div>
</template>

<script>
	export default{
    props:['likeList'],
		data(){
			return{

			}
		}
	}
</script>


<style scoped>
	.header-like{
		width: 100%;
		background-color: white;
		margin-top: 0.4rem;
	}
	.like-top{
		font-size: 0.28rem;
		padding: 0.2rem 0 0.2rem 0.2rem;
		background-color: white;
	}
  .like-top{
    color: #212121;
    font-size: 0.4rem;
    font-weight: bold;
  }
	.like-top .iconfont{
		color: #FF4500;
		margin-right: 0.1rem;
		background-color: white;
	}
	.like-list{
		width: 100%;
		overflow: hidden;
		background-color: white;
	}
	.like-list li{
		width: 100%;
		font-size: 0.28rem;
		position: relative;
		overflow: hidden;
	}
  .sp{
    margin-left: 0.1rem;
  }
	.item-img{
		float: left;
		width: 2rem;
		height: 2rem;
		padding: 0.2rem;
	}
	.item-img img{
		width:100%;
		height: 100%;
	}
	.list-item{
		width: 60%;
		float: left;
		padding-top:0.2rem;
		margin-left: 0.2rem;
	}
	.item-title{
		font-size: 0.36rem;
	}
	.item-sad{
		margin: 0.4rem 0;
	}
	.item-sad .iconfont{
		color: yellow;
	}
	.item-sad label{
		margin-left: 0.1rem;
	}
	.item-pri span{
		color: orangered;
	}
	.item-pri i{
		font-style: normal;
		font-size: 0.3rem;
	}
	.item-pri label{
		float: right;
	}
</style>
